package com.hjxr.xmgl.web.domain;


import com.hjxr.framework.aspectj.lang.annotation.Excel;
import com.hjxr.sysadmin.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 预警指标配置对象 quota_early_warning
 *
 * @author hjxr
 * @date 2021-12-02
 */
public class QuotaEarlyWarning extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    @Excel(name = "主键ID")
    private String ewId;

    /** 预警名称 */
    @Excel(name = "预警名称")
    private String ewName;

    /** 分析语句 */
    @Excel(name = "分析语句")
    private String sql;

    /** 分类编号 */
    @Excel(name = "分类编号")
    private String catId;

    /** 0:正常；1:失效 */
    @Excel(name = "0:正常；1:失效")
    private String status;

    public void setEwId(String ewId)
    {
        this.ewId = ewId;
    }

    public String getEwId()
    {
        return ewId;
    }
    public void setEwName(String ewName)
    {
        this.ewName = ewName;
    }

    public String getEwName()
    {
        return ewName;
    }
    public void setSql(String sql)
    {
        this.sql = sql;
    }

    public String getSql()
    {
        return sql;
    }
    public void setCatId(String catId)
    {
        this.catId = catId;
    }

    public String getCatId()
    {
        return catId;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ewId", getEwId())
            .append("ewName", getEwName())
            .append("sql", getSql())
            .append("catId", getCatId())
            .append("status", getStatus())
            .toString();
    }
}
